package com.example.back.controller;

import com.example.back.service.UserAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class UserAnalysisController {
    @Autowired
    private UserAnalysisService userAnalysisService;
    @GetMapping("/userAnalysis")
    public HashMap<String, Object> userAnalysis()
    {
       return userAnalysisService.UserAnalysisService();
    }
}
